#pragma once
#include "include/cef_app.h"
class CCefBrowserDomVisitor :public CefDOMVisitor
{
public:
	CCefBrowserDomVisitor(CefRefPtr<CefListValue> values_) :values{ values_ } {}
	void Visit(CefRefPtr<CefDOMDocument> document) override;
	void TestAccess(CefRefPtr<CefDOMDocument> document);
	void TestModify(CefRefPtr<CefDOMDocument> document);
	CefRefPtr<CefListValue> values;
protected:
	// Include the default reference counting implementation.
	IMPLEMENT_REFCOUNTING(CCefBrowserDomVisitor);
};

